package cn.gzsf.coolshark.mapper;

import cn.gzsf.coolshark.pojo.entity.Category;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {
    List<Category> select();

    int deleteById(Integer id);

    int insert(String name);

    int update(Category category);
}
